package constant

// NSQ topic
const (
	TopicProdUpdate = "prod-prod_updated" // 发送商品更新消息
	TopicProdDelete = "prod-prod_deleted" // 发送商品删除消息
	TopicMenuUpdate = "prod-menu_updated" // 发送供货组更新消息
)

// NSQ status
const (
	NSQInit    = 0 // 消息初始化
	NSQSucceed = 1 // 消息发送成功
	//NSQMarked  = 2 // 消息标记成功
)

// 标准指针状态
const (
	StatusTrue = true
)

const (
	TaskProgressKey = "prod/task/%d/progress"
)
